{% load i18n %}
{% load lbforum_tags %}
{% load lbforum_filters %}
{% load avatar_tags %}

<div class="box">
    <div class="inner">
        <table width="100%" cellspacing="0" cellpadding="0" border="0">
            <tbody>
                <tr>
                    <td width="73" valign="top" align="center">
                        {% avatar view_user %}
                    </td>
                    <td width="10" valign="top"></td>
                    <td width="auto" valign="top" align="left">
                        <h2 style="padding: 0px; margin: 0px; font-size: 22px; line-height: 22px;">{{view_user.username}}</h2>
                        <div class="sep5"></div>
                        <span class="sky">
                            {% trans "Registered" %}: <strong>{{view_user.date_joined|date:"Y-m-d"}}</strong>
                        </span>
                        <div class="sep10"></div>
                        <table width="100%" cellspacing="0" cellpadding="2" border="0">
                            <tbody>
                                <tr>
                                    <td width="50%">
					    <span class="bigger">{% trans "Verify.Me Rating" %}:&nbsp;&nbsp;</span> 
					    <span class="bigger sky">
						    <strong>{{view_user.trust_profile.trust_meta_score }}</strong>
					    </span>
                                    </td>
                                </tr>
                            </tbody></table>
                    </td>
                </tr>
            </tbody></table>
    </div>
</div>
{% if update_msg %}
<div class="sep20"></div>
<div class="box">
    <div class="inner">
	    <span class="bigger green">{{ update_msg }}</span>
    </div>
</div>
{% endif %}

	<div class="sep20"></div>
		
<div class="box">
    <div class="cell">
	    <span class="bigger sky"><strong>Verify.Me User:</strong>&nbsp;&nbsp;{{ view_user.username }}</span>
    </div>
    <div class="inner">


	    <form action="{% url trust_modify_user view_user.pk %}" accept-charset="utf-8" method="post">	        {% csrf_token %} 
        <table cellpadding="3" cellspacing="0" border="0" width="100%">
            <tbody>
                <tr>
			<td align="left" width="50%"><span class="fade">{% trans "E-Bay Account Name" %}</span>&nbsp;-&nbsp;
				{% if view_user.trust_profile.trust_ebay_verified %}
				    <span class="green ">Verified!</span>
				{% else %}
				<span class="red ">Not Verified!</span>
				{% endif %}
			</td>
			<td align="left">
				
			<input size="45" type="text" id="verify_text" maxlength="40" name="trust_ebay_acct_name" value="{{ view_user.trust_profile.trust_ebay_acct_name }}">
			</input>

	    	    </td>
                </tr>
                <tr>
                    <td align="left" width="50%"><span class="fade">{% trans "E-Bay Score" %}</span></td>
                    <td align="left"><strong>{{ view_user.trust_profile.trust_ebay_avg_score }}</strong></td>
                </tr>
                <tr>
			<td align="left" width="50%"><span class="fade">{% trans "AirBnB Account Name" %}</span>&nbsp;-&nbsp;
				{% if view_user.trust_profile.trust_airbnb_verified %}
				<span class="green ">Verified!</span>
				{% else %}
				<span class="red ">Not Verified!</span>

				{% endif %}
			</td>
			<td align="left">
				<input size="45" type="text" id="verify_text" maxlength="40" name="trust_airbnb_acct_name" value="{{ view_user.trust_profile.trust_airbnb_acct_name }}">
			</input>
			
			</td>
                </tr>
                <tr>
                    <td align="left" width="50%"><span class="fade">{% trans "AirBnB Score" %}</span></td>
                    <td align="left"><strong>{{ view_user.trust_profile.trust_airbnb_avg_score }}</strong></td>
                </tr>
                <tr>
                    <td align="left" width="50%"><span class="fade">{% trans "Get Around Name" %}</span>&nbsp;-&nbsp;
				{% if view_user.trust_profile.trust_airbnb_verified %}
				    <span class="green ">Verified!</span>
				{% else %}
				<span class="red ">Not Verified!</span>
				    {% endif %}
			    </td>
			<td align="left">
				<input size="45" type="text" id="verify_text" maxlength="40" name="trust_gar_acct_name" value="{{ view_user.trust_profile.trust_gar_acct_name }}">
			</input>
			
		</td>



                </tr>
                <tr>
                    <td align="left" width="50%"><span class="fade">{% trans "Get Around Score" %}</span></td>
                    <td align="left"><strong>{{ view_user.trust_profile.trust_gar_avg_score }}</strong></td>
	    </tr>

            </tbody>
    </table>
    <div class="sep20"></div>
 <table cellpadding="3" cellspacing="0" border="0" width="100%">
	 <tbody>
	 <tr>
		<input type="submit" class="super normal button" value="Update Settings" name="update">
         </tr>
	 </tbody>
	 </table>
    </form>
    </div>
</div>
